<?php
/**
 * Author Yulin
 * Email  dwzhanglong@126.com
 * Date   2016-8-16
 * Func   系统全局变量
 */
defined('IN_YuLin') || exit('NO PERMIT!');

define('URL','http://'.$_SERVER['HTTP_HOST'].'/');

//  COOKIE  配置
define('COOKIE_PREV', '');	//	cookie前缀
define('COOKIE_DOMAIN', ''); //Cookie 作用域
define('COOKIE_PATH', '/'); //Cookie 作用路径

//  配置信息
$_config = [];

//	数据库
$_config['db']['host']	=	'localhost';
$_config['db']['port']	=	'3306';
$_config['db']['user']	=	'root';
$_config['db']['pass']	=	'root';
$_config['db']['name']	=	'caipiao';
$_config['db']['prev']	=	'yulin_';
$_config['db']['char']	=	'UTF8';